/**
 * Created by GYL on 2018/7/25
 */
import React, { Component } from 'react';
import { Row, Col, Tabs, Card, InputNumber } from 'antd';
import Container from '../../components/common/Container';
import MyTable from '../../components/common/MyTable';
import PublicService from '../../services/PublicService';
import BladDayHourEcharts from './Echarts/BladDayHourEcharts';
class BlabCurrent extends Component {
    constructor(props) {
        super(props)
       

    }
    state = {
        loading: false,
        selectedRowKeys: [],
        selectedRows: [],
        dataSource: [],
        pageIndex: 1,
        pageSize: 10,
    }
    onA = () => {
        this.props.history.goBack()
    }
    render() {
        const { loading, selectedRowKeys, dataSource, pageIndex, pageSize } = this.state
        const windowWidth = document.body.clientWidth;
        const columns = this.columns
        const height = document.body.clientHeight;
        let containerHeight = '88vh';
        if (windowWidth > 1367) {
            containerHeight = '88vh';
        }

        return (
            <div>
                <Container
                    style={{ height: containerHeight, position: "relative", marginTop: "1vh", padding: "0px 10px" }}
                    header={true}
                >
                    <Row>
                        <Col span={12}><a href="#" onClick={this.onA}>泄漏监控</a> >> 数据趋势图</Col>
                        <Col span={12}><a href="#" onClick={this.onA} style={{ float: "right" }}>返回</a></Col>
                    </Row>

                    <Row>
                        <Col span={4}>指标名称 : 甲烷小时均值</Col>
                        <Col span={6}>燃气站点 : 站点1</Col>
                    </Row>
                    <BladDayHourEcharts/>
                </Container>
            </div>
        )
    }
}
export default (BlabCurrent);
